#include <string.h>
#include <stdlib.h>
#include "pack.h"

uint8_t unpack_u8(const uint8_t **buf)
{
    uint8_t val = **buf;
    (*buf)++;
    return val;
}

